/**
 * @file	libTime.h
 * @brief	Time includes GPS synchronization and all Timer functionalities
 * @ingroup	libTime
 *
 * @author	andi
 * @date	Oct 2008
 * @since	1.1
 * @version	$Rev$
 *
 */

/**
 * @addtogroup	config_compile
 * @{
 */

///@}

/**
 * Buffer size: Maximum number of timers, each timer requires 8 bytes of RAM
 * (==sizeof(timerEntry)).
 *
 * @since         1.0
 */
#define MAX_TIMERS          (8)

#define DCO_CHECK_PERIOD  3600 ///< seconds of checking and adjusting DCO frequency

#define DB_SAMPLE_FREQ		400 ///< double ADC12 sample freq in Hz

///< constants controlls GPS time adjustments
#ifdef GPS
#define	GPS_TIMEOUT		420		///< secs after missing valid GPS signal GPS is powered down
#define	GPS_PERIOD		1800	///< period in secs for GPS time adjustment 
#define	GPS_RESTART		900		///< time in seconds for a GPS adjustment after first adjustment and after timeout
#endif

